package com.ukao.cashregister.bean;

import com.ukao.cashregister.utils.CheckUtils;

import java.io.Serializable;

/**
 * Created by ukaodev on 2018/1/29.
 */

public class RefundMethodBean   extends   BaseListBean<RefundMethodBean>  implements Serializable{



        /**
         * val : 1
         * sortNo : 1
         * showText : 微信
         * dicKeyId : 8
         * attr1Remark : 可选退款方式
         * pid : null
         * id : 52
         * text : 微信
         * attr1 : 1
         */

        private String val;
        private int sortNo;
        private String showText;
        private int dicKeyId;
        private String attr1Remark;
        private Object pid;
        private int id;
        private String text;
        private String attr1;

        public String getVal() {
            return val;
        }

        public void setVal(String val) {
            this.val = val;
        }

        public int getSortNo() {
            return sortNo;
        }

        public void setSortNo(int sortNo) {
            this.sortNo = sortNo;
        }

        public String getShowText() {
            return showText;
        }

        public void setShowText(String showText) {
            this.showText = showText;
        }

        public int getDicKeyId() {
            return dicKeyId;
        }

        public void setDicKeyId(int dicKeyId) {
            this.dicKeyId = dicKeyId;
        }

        public String getAttr1Remark() {
            return attr1Remark;
        }

        public void setAttr1Remark(String attr1Remark) {
            this.attr1Remark = attr1Remark;
        }

        public Object getPid() {
            return pid;
        }

        public void setPid(Object pid) {
            this.pid = pid;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getText() {
            return CheckUtils.isEmptyString(text);
        }

        public void setText(String text) {
            this.text = text;
        }

        public String getAttr1() {
            return attr1;
        }

        public void setAttr1(String attr1) {
            this.attr1 = attr1;
        }

}
